package com.example.module_course.activity

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.example.module_course.databinding.ActivityMoreCourseBinding
import com.example.module_course.pages.MoreCourseScreen
import com.fenghuajueli.libbasecoreui.utils.MyStatusBarUtils

class MoreCourseActivity : AppCompatActivity() {

    private lateinit var binding: ActivityMoreCourseBinding

    private lateinit var courseType:String


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding = ActivityMoreCourseBinding.inflate(layoutInflater)
        setContentView(binding.root)
        MyStatusBarUtils.setStatusBarWhite(this, "#00000000")

        courseType = intent.getStringExtra("courseType").toString()

        binding.composeView.setContent {
            MoreCourseScreen(courseType = courseType){
                finish()
            }
        }

    }
}